<?php

echo $this->smartButton('Dodaj', $this->url(array('controller' => 'static-page', 'action' => 'save'), 'admin', true));

echo $this->table($this->list, array(
    'ID' => 'static_page_id',
    'Tytul' => 'title',
    'Operacje' => array(
        $this->smartButton('Wyświetl', $this->url(array('controller' => 'static-page', 'action' => 'show', 'id' => '${item.code}'), 'default', true), array('size' => 'mini', 'noAjax' => true))
        .
        $this->smartButton('Edycja', $this->url(array('controller' => 'static-page', 'action' => 'save', 'id' => '${item.code}'), 'admin', true), array('size' => 'mini'))
    ),
    'Link' => array($this->url(array('controller' => 'static-page', 'action' => 'show', 'id' => '${item.code}'), 'default', true), array('size' => 'mini')),
        )
);
?>